using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMVehicleGroupBusiness
    {
        public static clsTMVehicleGroupController cls = new clsTMVehicleGroupController();

        #region[Get-Data]
        public DataTable BindGirdTMVehicleGroup()
        {
            return cls.BindGirdTMVehicleGroup();
        }
        public DataTable BindGirdTMVehicleGroup_Detail_Edit(int id)
        {
            return cls.BindGirdTMVehicleGroup_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMVehicleGroup(clsTMVehicleGroupProperty obj)
        {
            return cls.InsertTMVehicleGroup(obj);
        }
        public static bool UpdateTMVehicleGroup(clsTMVehicleGroupProperty obj)
        {
            return cls.UpdateTMVehicleGroup(obj);
        }
        public static bool DeleteTMVehicleGroup(int id)
        {
            return cls.DeleteTMVehicleGroup(id);
        }
        public bool TMVehicleGroup_Check_Delete_TMVehicle(int id)
        {
            return cls.TMVehicleGroup_Check_Delete_TMVehicle(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}